// 主程序main   一些公共组件（ts与vue的组件）

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/css/base.css'
import './assets/css/main.styl'

// 全局引入
import BaseComponents from './components/base'
import BaseDirective from './directive'

const app = createApp(App)

// 全局使用 
app.use(BaseComponents) //公共组件
app.use(BaseDirective)  //公共指令



app.use(store).use(router).mount('#app')
